<td><?php echo $location['JobCategory']['name']; ?>&nbsp;</td>
<td><?php echo $location['JobCategory']['description']; ?>&nbsp;</td>
<td><?php echo ($location['ParentJobCategory']['name'] == NULL)?'---':$location['ParentJobCategory']['name']; ?>&nbsp;</td>
<td>
	<?php
			 if($location['JobCategory']['published'] == 1){
			 	echo $this->Html->image('assets/icons/actions_small/Yes.png', array('alt' => 'Published'));
			 } else{
			 	echo $this->Html->image('assets/icons/actions_small/No.png', array('alt' => 'Not Published'));
			 }
		?>&nbsp;
</td>
<td class="actions">
	<?php echo $this->Html->link($this->Html->image('assets/icons/actions_small/Pencil.png', array('alt' => 'Edit')),
									'/admin/'.$this->params['controller']. '/' .'add'.'/'.$location['JobCategory']['id'].'/'. 1,  
									array('rel' => 'edit', 'escape' => false, 'class'=>'tooltip table_icon'));
	?>
	<?php echo $this->Html->link($this->Html->image('assets/icons/actions_small/Trash.png', array('alt' => 'Delete')),
									'/admin/'.$this->params['controller']. '/' .'delete'.'/'.$location['JobCategory']['id'],  
									array('rel' => 'delete', 'escape' => false, 'class'=>'tooltip table_icon'));
	?>
</td>